package top.hekun.study.agent;

import java.lang.instrument.Instrumentation;

/**
 * @Author: 贺坤
 * @Date: 2023/5/29
 */
public class AgentPremainDemo   {
    /**
     * 探针 插槽
     */
    public static void agentPremainAddTransformer( Instrumentation instrumentation) {
        System.out.println("探针添加转换器！！！");
        instrumentation.addTransformer(new AgentPremainTransformer());
    }
}
